/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package myutil;

import java.io.Serializable;

/**
 *
 * @author Tidus Le
 */
public class Protocol implements Serializable
{
    int stt;
    long len;
    byte[] data;
    String id;
    String fid;
    boolean on;
    boolean off;
    boolean dk;
    boolean rl;
    boolean rs;
    boolean rp;
    boolean rd;
    boolean gl;
    boolean sp;
    boolean np;
    boolean fp;
    
    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public boolean isFp() {
        return fp;
    }

    public void setFp(boolean fp) {
        this.fp = fp;
    }

    public boolean isGl() {
        return gl;
    }

    public void setGl(boolean gl) {
        this.gl = gl;
    }

    public boolean isNp() {
        return np;
    }

    public void setNp(boolean np) {
        this.np = np;
    }

    public boolean isRd() {
        return rd;
    }

    public void setRd(boolean rd) {
        this.rd = rd;
    }

    public boolean isRl() {
        return rl;
    }

    public void setRl(boolean rl) {
        this.rl = rl;
    }

    public boolean isRp() {
        return rp;
    }

    public void setRp(boolean rp) {
        this.rp = rp;
    }

    public boolean isRs() {
        return rs;
    }

    public void setRs(boolean rs) {
        this.rs = rs;
    }

    public boolean isSp() {
        return sp;
    }

    public void setSp(boolean sp) {
        this.sp = sp;
    }

    public int getStt() {
        return stt;
    }

    public void setStt(int stt) {
        this.stt = stt;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    public boolean isDk() {
        return dk;
    }

    public void setDk(boolean dk) {
        this.dk = dk;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public long getLen() {
        return len;
    }

    public void setLen(long len) {
        this.len = len;
    }

    public boolean isOff() {
        return off;
    }

    public void setOff(boolean off) {
        this.off = off;
    }

    public boolean isOn() {
        return on;
    }

    public void setOn(boolean on) {
        this.on = on;
    }
}
